class DictUtils {

  constructor () {
  }

  static setDict (obj, module, dictMap) {
    let merge = {
      module: module,
      dictMap: dictMap
    }
    obj.$store.dispatch('saveDictMap', merge)
  }

  static getDict (obj, page) {
    obj.$store.state.Puba.dict[page]
  }
}

export default DictUtils;